package com.lc.fbtp.draftmsg.api.paper.ncp.ncp014;

import com.lc.fbtp.draftmsg.api.paper.CdInf;
import com.lc.fbtp.draftmsg.api.paper.MainBody;
import com.lc.fbtp.draftmsg.api.paper.MsgId;
import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 库存变更通知报文
 * @author yeyun20029
 *
 */
public class NCP014 extends MainBody {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 7805936633861947037L;

	/**
	 * 报文标识
	 */
	@XStreamAlias("MsgId")
	private MsgId MsgId;
	
	/**
	 * 票据信息
	 */
	@XStreamAlias("CdInf")
	private CdInf CdInf;
	
	/**
	 * 库存信息
	 */
	@XStreamAlias("MvInfElmt")
	private MvInfElmt MvInfElmt;
	
	public MsgId getMsgId() {
		return MsgId;
	}

	public void setMsgId(MsgId msgId) {
		MsgId = msgId;
	}

	public CdInf getCdInf() {
		return CdInf;
	}

	public void setCdInf(CdInf cdInf) {
		CdInf = cdInf;
	}

	public MvInfElmt getMvInfElmt() {
		return MvInfElmt;
	}

	public void setMvInfElmt(MvInfElmt mvInfElmt) {
		MvInfElmt = mvInfElmt;
	}

	@Override
	public String getId() {
		return MsgId.getId();
	}

	@Override
	public String getDtTm() {
		return MsgId.getCreDtTm();
	}

	@Override
	public String getOrgnlId() {
		return null;
	}

}
